<script setup lang="ts">

import { useRouter } from "vue-router";

const router = useRouter();

function handleToHome() {
    router.push({ name: "home" });
}

</script>

<template>
    <div class="h-full flex items-center justify-center">
        <n-result status="error" title="房间已关闭">
            <template #footer>
                <n-button @click="handleToHome" type="primary" size="large" block round>回到首页</n-button>
            </template>
        </n-result>
    </div>
</template>

<style scoped>

</style>